This page last changed on Jan 19, 2005 by scytacki.

Within the portfolio can be a response table.

This will exist as a response inside of a query. Currently it is being stored as a "DataCollector" inside of the database. The xml description of this table of responses will look like:

<ResponseTable cols="3" rows="2">
   <tr>
       <th><!-- probably empty --></th>
                <th>Colum 1 heading</th>
                        <th>Collumn 2 heading</th>
   </tr>
   <tr>
       <th>Row 1 heading</th>
                <td><inputObject><PfTextObject></PfTextObject></inputObject>
                    <correctAnswer>correct answer object</correctAnswer>
                </td>
                        <td><inputObject><PfDataCollector/></inputObject>
                            <correctAnswer/>
                        </td>
    </td>
</ResponseTable>

This will get turned into table html for the web pages. This html will
render something like:

  Colum 1 heading Collumn 2 heading
Row 1 heading (left blank so page can be printed) (ditto)

It will also get turned into the xml for the portfolio:
(All response tables go inside of a PfResponse objects)

<PfResponseTable>
  <cols>3</cols>
  <rows>2</rows>
  <cells>
     <string></string>
     <string>Colum 1 heading</string>
     <string>Collum 2 heading</string>
     <string>Row 1 heading</string>
     <PfResponse>
       <inputObject>
         <PfTextObject/>
       </inputObject>
       <correctAnswser/>
     </PfResponse>
     <PfResponse>
       <inputObject>
         <PfDataCollector/>
       </inputObject>
       <correctAnswer/>
     </PfResponse>
  </cells>
</PfResponseTable>
Document generated by Confluence on Jan 27, 2014 16:43